/*
 *
 * System2 Simulation Framework
 * Copyright (C) 2011 - 2012 Jacob Dawid
 * jacob.dawid@googlemail.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

QProgressBar:horizontal {
	border: 1px solid gray;
	border-radius: 3px;
	height: 7px;
	background: white;
	padding: 1px;
}

QProgressBar::chunk:horizontal {
	background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 0.5, stop: 0 #00A1EF, stop: 0.4 #12ABEF, stop: 0.5 #00C8EF, stop: 1.0 #00C3EF);
}

QTreeView { 
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffffff, stop:1 #efefef);
}

QTextEdit { 
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffffff, stop:1 #efefef);
}

QTabWidget::pane {
	border: 1px solid #C4C4C3;
	background: #efefef;
	border-top-right-radius: 20px;
}

QTabWidget::tab-bar {
	left: 0px;
}

QGraphicsView {
	border-top-right-radius: 20px;
}

QTabBar::tab {
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1E1E1, stop: 0.4 #DDDDDD, stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
	border: 1px solid #C4C4C3;
	border-bottom-color: #C2C7CB;
	border-top-right-radius: 20px;
	min-width: 8ex;
	padding: 2px;
	height: 20px;
}

QTabBar::tab:selected {
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fafafa, stop: 0.4 #f4f4f4, stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}

QTabBar::tab:hover {
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #fafaf0, stop: 0.4 #f4f4f0, stop: 0.5 #e7e7e0, stop: 1.0 #fafaf0);
}

QTabBar::tab:selected {
	border-color: #9B9B9B;
	border-bottom-color: #C2C7CB;
}

QTabBar::tab:!selected {
	margin-top: 0px;
}

QMdiArea {
	background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1E1E1, stop: 0.4 #DDDDDD, stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
}

QMdiSubWindow {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #ffffff, stop:1 #e0e0e0);
	border: 1px solid #C4C4C3;
	border-bottom-color: #C2C7CB;
	border-top-left-radius: 0px;
	border-top-right-radius: 20px;
	min-width: 8ex;
	padding: 2px;
}

QMdiSubWindow:title {	
}
